package Dao.Student;


import Entity.Grade.Score;
import Entity.Process.StageTime;
import Entity.Student.StuInfo;

import java.sql.Connection;
import java.util.List;

public interface StudentDao {
    /**
     * 根据sno查询学生信息
     * @return
     */
    public StuInfo getStuInfo(String sno, Connection conn);

    /**
     * 根据sno查询评分
     * @param sno
     * @param conn
     * @return
     */
    public List<Score> getStuScore(String sno, Connection conn);

    /**
     * 根据sno查询答辩信息
     * @param sno
     * @param conn
     * @return
     */
    public StuInfo getStuDefence(String sno, Connection conn);

    /**
     * 根据sno查询进度表
     * @param sno
     * @param conn
     * @return
     */
    public List<StageTime> getStuSchedule(String sno, Connection conn);
}
